public class UtilisationVer1
extends java.lang.Object
| Constructor and Description |
|---|
UtilisationVer1() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
testCompteur() |
static void |
testGarage1() |
static void |
testGarage2() |
static void |
testGarage2Bis()
Garage CompteurComparateur
ATTENTION: il faut d'abord instancier un garage Comparable
l'on référence ensuite par un garage CompteurComparable
en effet, les véhicules ayant tous un compteur à 0 lors de leur instanciation ne seraient pas ajoutés
à un garage CompteurComparable, car un Set est sans doublon par rapport au critère de comparaison
|
static void |
testMappings1() |
static void |
testVehicule() |
public static void main(java.lang.String[] args)
public static void testCompteur()
public static void testVehicule()
public static void testMappings1()
public static void testGarage1()
public static void testGarage2()
public static void testGarage2Bis()